package com.cpp.pojo.dto.chapter;

import com.cpp.pojo.pojo.Knowledge;
import com.cpp.pojo.pojo.Question;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 用来把ai生成的备课内容返回给前端，让老师微调的类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ChapterConfirmDTO implements Serializable {
    //章节id
    private Long chapterId;
    //章节标题
    private String title;
    //章节内容简介
    private String content;
    //预计学习时长（分钟）
    private Integer duration;
    //实训练习
    List<Question> questions;
    //知识点
    List<Knowledge> knowledges;

}